[#list data_list as it]
[@compress single_line=false]
[#if it.category.id==-1]
[#assign cat='group'/]
[#else]
[#assign cat='post'/]
[/#if]
	<div class="post" id="post-${it.id}">
		<div class="blogtitle">
			<h2><a href="${ui.base}/${cat}/${it.alias}" rel="bookmark" title="${it.title}">${it.title}</a></h2>
			[@compress single_line=true]
			<small><span title="${it.createTime}">[@pretty_time date=it.createTime/]</span>
			 | Posted by ${it.postBy.name} in 
			 [#if it.category.id==-1]
				 <a href="${ui.base}/${cat}/" title="View all posts in ${cat}" rel="category tag">${cat}</a>
			 [#else]
				 <a href="${ui.base}/category/${it.category.alias}/" title="View all posts in ${it.category.name}" rel="category tag">${it.category.name}</a>
			 [/#if]
			 [#if it.createTime!=it.lastUpdTime] | <span title="${it.lastUpdTime}">[@pretty_time date=it.lastUpdTime/]</span> | Updated by ${it.lastUpdBy}[/#if]
			   | ${it.scan} views</small>
			 [/@compress]
		</div>
	
		<div class="postmeta">
			<div class="shareitems">
				[#include "../../main/3pt/jiathis.html"]
			</div>
			<div class="comments">
				[#if it.isAllowComment]
					<a href="${ui.base}/${cat}/${it.alias}#comments" title="Comment on ${it.title}">[#if it.comments gt 0]${it.comments}[#else]No[/#if] comments</a>
				[#else]
					<a href="${ui.base}/${cat}/${it.alias}#comments" class="close" title="Comment was closed">Closed</a>
				[/#if]
			</div>
		</div><!-- /postmeta -->
		<div class="clr">&nbsp;</div>
		<div class="entry" id="post-${it.id}-content">
	[/@compress]
		[@html_cut s=it.content len='350' type='html' append='...'/]
	[@compress single_line=false]
		</div>
		<div class="clr">&nbsp;</div>
	</div>
	[#if it_has_next]
		<div class="page-sep">&nbsp;</div>
	[#else]
		<div class="page-end">&nbsp;</div>
	[/#if]
	[/@compress]
[/#list]
